<?php

namespace app\common\model;

use think\Model;

class WorldCupGameModel extends Model
{
    protected $connection = ['database' => 'sports'];

    public function gameOrder()
    {
        return $this->hasOne(WorldCupGameOrderModel::class, 'team_id', 'id');
    }

    public function WorldCupGameOrder()
    {
        return $this->hasOne(WorldCupGameOrderModel::class, 'team_id', 'id');
    }
}